package pattern.state;

public class HasQuarterState implements State
{
	GumblallMashine gumblallMashine;
	public HasQuarterState(GumblallMashine gumblallMashine)
	{
		this.gumblallMashine = gumblallMashine;
	}
	@Override
	public void insertQuarter()
	{
		
	}

	@Override
	public void ejectQuarter()
	{
		gumblallMashine.setState(gumblallMashine.getNoQuarterState());
	}

	@Override
	public void turnCrank()
	{
		gumblallMashine.setState(gumblallMashine.getSoldState());
	}

	@Override
	public void dispense()
	{
		
	}
	
}
